#ifndef MENU_HPP_INCLUDED
#define MENU_HPP_INCLUDED

#define NBMENU 3

#define JOUER 0
#define A PROPOS 1
#define QUITTER 2

class Menu:public Screen{
    public:
    Menu(BibSprite *bib);
    int Run (sf::RenderWindow &App);
    void freeRessource();
    ~Menu();

    private:
    BibSprite *bibSprite;
    Brique *mur[20][15];
    Carapace *carap;
    Palette *palette;
    sf::Sprite *Fond;
    sf::String* listeMenu[NBMENU];
    int selectedItem;
    int nextScreen;
    int dirColor;
    void gestColCarapPalette();
    void gestColCarapBrique(sf::RenderWindow &App);
    void drawPalette(sf::RenderWindow &App);
    bool menuInit;
};

#endif // MENU_HPP_INCLUDED
